<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>{$Think.config.title}</title>
    <meta charset="utf-8">   
    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
    <meta content="telephone=no" name="format-detection">
    <include file="public:css_" />    
</head>
<body>
	<div class="bj">
		<div style="width: 80%;margin: 0 auto;padding-top: 3em;">
	    	<img src="{$Think.config.static_path}images/top5.png" style="width:100%">
	    </div>
		<div class="form-login">
			<div class="mt1 inputbg">
				<p class="tel"><input type="text" id="tel" maxlength="11"></p>
			</div>
		    <div style="width: 40%;margin: 2em auto;"  >
		    	<img src="{$Think.config.static_path}images/code.png" style="width:100%" class="sendcode" id="submit">
		    	<div class="btnout2 codeData" style="display:none"></div>
		    </div>
		</div>
		<div style="bottom: 2em;position: fixed;">
	    	<img src="{$Think.config.static_path}images/word.png" style="width:100%">
	    </div>
	</div>

</body>
<include file="public:js_" /> 
<script type="text/javascript">
	$("#submit").click(function(){
		var tel=$("#tel").val();
		if(Util.isEmpty(tel)){
			Util.info("请输入手机号");
			return;
		}
		if(!Util.isMobile(tel)){
			Util.info("手机号格式不正确");
			return;
		}
		
		location.href="__URL__/checkExchange?phone="+tel;
	    
                
        //计时器
      /*var slide;
        j = 60
        $(".codeData").html('<div class="btnin2" style="font-size:14px">重新发送60</div>');
        $(".codeData").css({ "display": "inline-block" });
        $(".sendcode").css({ "display": "none" });
        slide = setInterval(function () {
            if (j > 0) {
                $(".codeData").html('<div class="btnin2" style="font-size:14px">重新发送'+j+'</div>');
            }
            else {
                $(".sendcode").css({ "display": "inline-block" });
                $(".codeData").css({ "display": "none" });
            }
            j--;
        }, 1000);*/
	})
</script>
</html>